package com.kqb.sgadmin.controller.drug;

import com.kqb.sgapi.drug.DrugFeignClient;
import com.kqb.sgcommon.base.response.Result;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 杉果树皮
 */
@RestController
@RequestMapping("/system/drug")
public class DrugController {

    @Resource
    private DrugFeignClient drugFeignClient;

    @RequestMapping("/list")
    public Result<?> list() {
        return drugFeignClient.list();
    }
}
